package com.hotstrip.web;

import com.linecorp.bot.client.LineMessagingClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

import javax.annotation.Resource;

/**
 * Created by idiot on 2019/8/26.
 */
@Controller
public class PushMessageController {
    private static Logger logger = LoggerFactory.getLogger(PushMessageController.class);

    @Resource
    private LineMessagingClient lineMessagingClient;

    @PostMapping(value = "message/text")
    public void textMessage(String text) {
        // lineMessagingClient.broadcast()
    }
}
